﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace JaxaraRnD.Models.Objects
{
    public class Employee
    {
        public virtual int Id { get; set; }

        [Required]
        [StringLength(160, ErrorMessage = "*required")]
        [DataType(DataType.Text)]
        [Display(Name = "Employee Name: ")]
        public virtual string Name { get; set; }

        public virtual Department Department { get; set; }
    }
}